﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using StripeOne.Service.Old.Models.User;
using StripeOne.Service.Old.Models.Common;

namespace StripeOne.Service
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
    [ServiceContract]
    public interface IStripeOneService
    {
        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Login?username={username}&password={password}")]
        User Login(string username, string password);

        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "Logout?username={username}")]
        Status Logout(string username);
    }
}
